package com.xy.novelmanagement.mapper;

import com.xy.model.RootNovelType;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NovelClassificationMapper {

		List<RootNovelType> getTypeList();

		String selectTypeByName(String typeName);

		Integer insertType(String typeName);

		boolean updateType(String typeName, String newTypeName);

		Integer getTypeByName(String name);

		boolean deleteByNames(String[] idList);
}
